define(['backend'], function (Backend) {
    require.config({
        paths:{
            'bdueditor':'../libs/ueditor/ueditor.all',
            'ueditorconfig':'../libs/ueditor/ueditor.config',
            'bdlang':'../libs/ueditor/lang/zh-cn/zh-cn',
            'zeroclipboard':'../libs/ueditor/third-party/zeroclipboard/ZeroClipboard',
        },
        shim:{
            'bdueditor':{
                //C:\phpStudy\PHPTutorial\WWW\fast.io\public\assets\libs\ueditor\themes\default\css\ueditor.css
                deps:['zeroclipboard','ueditorconfig'],
                exports:'UE',
                init:function(ZeroClipboard){
                    window.ZeroClipboard = ZeroClipboard;
                }
            }
        }
    });
});